set lpsloc=..\..\Outer\lp_solve

mkdir _Out\Obj
mkdir _Out\Bin

cd _Out
erase *.* /S /Q
cd ..

g++ -c main.cpp -o _Out\Obj\main.o -I%lpsloc%
g++ _Out\Obj\main.o %lpsloc%\lpsolve55.lib -o _Out\Bin\Test-LP 
copy %lpsloc%\*.dll _Out\Bin